function main()
{
    if (args.formType == undefined || args.formType.length == 0)
    {
        status.code = 400;
        status.message = "Workflow type has not been provided.";
        status.redirect = true;
    }
    else
    {
        model.args = args;
    }
}
main();
